package com.ray.depot.service;

import java.util.List;

import com.ray.depot.table.dto.StockHoldSerializeDto;
import com.ray.depot.table.entity.StockHoldSerialize;
import com.zjhc.flyhong.common.function.operator.LoginUser;
import com.zjhc.flyhong.common.function.operator.PageDto;
import com.zjhc.flyhong.common.web.Result;

public interface StockHoldSerializeService {

	/**
	 * 新增
	 * @param params
	 * @param user
	 * @return
	 */
	Result<Object> addStockHoldSerialize(StockHoldSerialize params, LoginUser user);
	
    /**
     * 查询
     * @param id
     * @param user
     * @return
     */
	StockHoldSerialize queryStockHoldSerialize(String id, LoginUser user);
	
    /**
     * 修改
     * @param params
     * @param user
     * @return
     */
	Result<Object> updateStockHoldSerialize(StockHoldSerialize params, LoginUser user);
	
    /**
     * 删除
     * @param id
     * @param user
     * @return
     */
	Result<Object> deleteStockHoldSerialize(String id, LoginUser user);
	
   /**
    * 查询
    * @param params
    * @param page
    * @param user
    * @return
    */
	PageDto<StockHoldSerialize> queryStockHoldSerialize(StockHoldSerialize params, PageDto<StockHoldSerialize> page, LoginUser user);
    /**
     * 根据出入库单号删除
     * @param StockHoldNo
     * @param user
     */
    void deleteStockHoldSerializeByNo(String StockHoldNo, LoginUser user);
    /**
     * 查询
     * @param params
     * @param page
     * @param user
     * @return
     */
    PageDto<StockHoldSerializeDto> querySelectStockHoldSerialize(StockHoldSerializeDto params, PageDto<StockHoldSerializeDto> page, LoginUser user);
    /**
     * 获取资产数据
     * @param StockHoldNo
     * @param user
     * @return
     */
    List<StockHoldSerialize> queryStockHoldSerializesByStockHoldNo(String StockHoldNo, LoginUser user);
}
